﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001363 RID: 4963
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeOffEquipmentScRsp : IMessage<TakeOffEquipmentScRsp>, IMessage, IEquatable<TakeOffEquipmentScRsp>, IDeepCloneable<TakeOffEquipmentScRsp>, IBufferMessage
	{
		// Token: 0x17003E9A RID: 16026
		// (get) Token: 0x0600DE38 RID: 56888 RVA: 0x00252C30 File Offset: 0x00250E30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeOffEquipmentScRsp> Parser
		{
			get
			{
				return TakeOffEquipmentScRsp._parser;
			}
		}

		// Token: 0x17003E9B RID: 16027
		// (get) Token: 0x0600DE39 RID: 56889 RVA: 0x00252C37 File Offset: 0x00250E37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeOffEquipmentScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003E9C RID: 16028
		// (get) Token: 0x0600DE3A RID: 56890 RVA: 0x00252C49 File Offset: 0x00250E49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeOffEquipmentScRsp.Descriptor;
			}
		}

		// Token: 0x0600DE3B RID: 56891 RVA: 0x00252C50 File Offset: 0x00250E50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeOffEquipmentScRsp()
		{
		}

		// Token: 0x0600DE3C RID: 56892 RVA: 0x00252C58 File Offset: 0x00250E58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeOffEquipmentScRsp(TakeOffEquipmentScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DE3D RID: 56893 RVA: 0x00252C7D File Offset: 0x00250E7D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeOffEquipmentScRsp Clone()
		{
			return new TakeOffEquipmentScRsp(this);
		}

		// Token: 0x17003E9D RID: 16029
		// (get) Token: 0x0600DE3E RID: 56894 RVA: 0x00252C85 File Offset: 0x00250E85
		// (set) Token: 0x0600DE3F RID: 56895 RVA: 0x00252C8D File Offset: 0x00250E8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600DE40 RID: 56896 RVA: 0x00252C96 File Offset: 0x00250E96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeOffEquipmentScRsp);
		}

		// Token: 0x0600DE41 RID: 56897 RVA: 0x00252CA4 File Offset: 0x00250EA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeOffEquipmentScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DE42 RID: 56898 RVA: 0x00252CD4 File Offset: 0x00250ED4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DE43 RID: 56899 RVA: 0x00252D13 File Offset: 0x00250F13
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DE44 RID: 56900 RVA: 0x00252D1B File Offset: 0x00250F1B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DE45 RID: 56901 RVA: 0x00252D24 File Offset: 0x00250F24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DE46 RID: 56902 RVA: 0x00252D58 File Offset: 0x00250F58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DE47 RID: 56903 RVA: 0x00252D96 File Offset: 0x00250F96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeOffEquipmentScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DE48 RID: 56904 RVA: 0x00252DC7 File Offset: 0x00250FC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DE49 RID: 56905 RVA: 0x00252DD0 File Offset: 0x00250FD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 120U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005824 RID: 22564
		private static readonly MessageParser<TakeOffEquipmentScRsp> _parser = new MessageParser<TakeOffEquipmentScRsp>(() => new TakeOffEquipmentScRsp());

		// Token: 0x04005825 RID: 22565
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005826 RID: 22566
		public const int RetcodeFieldNumber = 15;

		// Token: 0x04005827 RID: 22567
		private uint retcode_;
	}
}
